package com.jiutian.hotel.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table (name = "hotelinfo")
public class HotelInfoData {
    private String hotelid;
    private String hotelname;
    private String summary;
    private int citycode;
    private int smallpic;
    private double x;
    private double y;
    private String cityname;
    private String address;

    public HotelInfoData(){};
    
    public HotelInfoData(String hotelid,String hotelname,String summary,int citycode,int smallpic,double x,double y,String cityname,String address){
        this.hotelid=hotelid;
        this.hotelname=hotelname;
        this.summary=summary;
        this.citycode=citycode;
        this.smallpic=smallpic;
        this.x=x;
        this.y=y;
        this.cityname=cityname;
        this.address=address;
    }
    
    @Id
    @Column(name = "hotelid")
    public String getHotelid() {
        return this.hotelid;
    }

    public void setHotelid(String hotelid) {
        this.hotelid = hotelid;
    }

    @Column(name = "hotelname")
    public String getHotelname() {
        return this.hotelname;
    }

    public void setHotelname(String hotelname) {
        this.hotelname = hotelname;
    }

    @Column(name = "summary")
    public String getSummary() {
        return this.summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    @Column(name = "citycode")
    public int getCitycode() {
        return this.citycode;
    }

    public void setCitycode(int citycode) {
        this.citycode = citycode;
    }

    @Column(name = "smallpic")
    public int getSmallpic() {
        return this.smallpic;
    }

    public void setSmallpic(int smallpic) {
        this.smallpic = smallpic;
    }

    @Column(name = "x")
    public double getX() {
        return this.x;
    }

    public void setX(double x) {
        this.x = x;
    }

    @Column(name = "y")
    public double getY() {
        return this.y;
    }

    public void setY(double y) {
        this.y = y;
    }
    
    @Column(name = "cityname")
    public String getCityname() {
        return this.cityname;
    }

    public void setCityname(String cityname) {
        this.cityname = cityname;
    }
    
    @Column(name = "address")
    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
